package com.zaimokuza.cn.entity.auth;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

/**
 * @author zaimokuza
 */
@ApiModel("角色")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Role {

    @ApiModelProperty("角色ID")
    private String id;
    @ApiModelProperty("角色名称")
    @NotBlank(message = "请填写角色名称！")
    private String name;
    @ApiModelProperty("备注信息")
    private String remark;

}
